import request from '@/utils/request'

// 查询新企业培育列表
export function listQypy() {
  return request({
    url: '/innovate/web/GROW_BASIC/list',
    method: 'get',
  })
}

// 查询新型研发机构详细
export function getQypy(id) {
  return request({
    url: '/innovate/web/GROW_BASIC/list' + id,
    method: 'get'
  })
}

// 新增新型研发机构
export function addQypy() {
  return request({
    url: '/innovate/web/GROW_BASIC/list',
    method: 'post',
  })
}

// 修改新型研发机构
export function updateQypy() {
  return request({
    url: '/innovate/web/GROW_BASIC/list',
    method: 'put',
  })
}

// 删除新型研发机构
export function delQypy(id) {
  return request({
    url: '/innovate/web/GROW_BASIC/' + id,
    method: 'delete'
  })
}

// 提交
export function submitQypy(ids) {
  return request({
    url: '/innovate/web/GROW_BASIC/submit/' + ids,
    method: 'put'
  })
}

export function exportword(id) {
  return request({
    url: '/innovate/web/GROW_BASIC/print/' + id,
    method: 'put'
  })
}
